//
//  LXKRadioListCell.m
//  EPA
//
//  Created by lanou3g on 16/4/21.
//  Copyright © 2016年 LXK. All rights reserved.
//

#import "LXKRadioListCell.h"

@interface LXKRadioListCell ()
@property (strong, nonatomic) IBOutlet UIImageView *coverImageView;
@property (strong, nonatomic) IBOutlet UILabel *titleLabel;
@property (strong, nonatomic) IBOutlet UIImageView *userImageView;
@property (strong, nonatomic) IBOutlet UILabel *userNameLabel;


@end

@implementation LXKRadioListCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)layoutSubviews {
    [self.coverImageView sd_setImageWithURL:[NSURL URLWithString:self.model.coverimg]];
    self.titleLabel.text = self.model.title;
    [self.userImageView sd_setImageWithURL:[NSURL URLWithString:self.model.playInfoModel.icon]];
    self.userNameLabel.text = self.model.playInfoModel.uname; 
}

@end
